package com.ddyx.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 赛蓝事件请求
 * 
 * @author zhongchzh
 *
 */
public class CylanEventRequest {
	
	/** 来访时间，单位：秒  */
	private long time;
	
	/** 设备标识 */
	private String cid;
	
	/** 底图地址 */
	private String image_url;
	
	/** Base64编码的图像 */
	private String image;
	
	/** 底图二进制数据 */
	private byte[] imageData;
	
	/** 检测到人物基本信息 */
	private List<CylanPersonInfo> persons;
	
	private List<String> faces;
	
	public CylanEventRequest() {
		persons = new ArrayList<CylanPersonInfo>(3);
		faces = new ArrayList<String>(3);
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getImage_url() {
		return image_url;
	}

	public void setImage_url(String image_url) {
		this.image_url = image_url;
	}
	

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public byte[] getImageData() {
		return imageData;
	}

	public void setImageData(byte[] imageData) {
		this.imageData = imageData;
	}

	public List<CylanPersonInfo> getPersons() {
		return persons;
	}

	public void setPersons(List<CylanPersonInfo> persons) {
		this.persons = persons;
	}
	
	public void addPerson(CylanPersonInfo person) {
		this.persons.add(person);
	}

	public List<String> getFaces() {
		return faces;
	}

	public void setFaces(List<String> faces) {
		this.faces = faces;
	}
}
